package com.vhly.ddxdecompiler.dexreader.file.dalv.code;

import java.util.Vector;

/**
 * Created by IntelliJ IDEA.
 * User: vhly
 * Date: 2009-10-21
 * Time: 13:28:08
 *
 * @author vhly[FR]
 */
public class DalvInsnList {
    /**
     * 指令数据
     */
    Vector<DalvInsn> insns;

    public DalvInsnList() {
        insns = new Vector<DalvInsn>();
    }

    public void addInsn(DalvInsn insn) {
        insns.add(insn);
    }

    public DalvInsn indexOf(int index) {
        return insns.elementAt(index);
    }
}
